﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bankroll.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Shop.Bankroll" %>


<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head runat="server">
    <title>资金明细查询</title>
    <meta charset="utf-8"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <%: Scripts.Render("~/Scripts/AdminBase") %>


    <%: Styles.Render("~/Content/Bootstrap/css") %>



</head>
<body>
<form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server"/>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width: 98%;" border="0" cellpadding="4" cellspacing="0" id="NavigationPath">
                <tr>
                    <td style="width: auto">
                        <asp:Label ID="lblPath" runat="server"></asp:Label>
                    </td>
                    <td style="text-align: right; width: auto;">
                        搜索：
                        <asp:DropDownList ID="ddlSort" runat="server" EnableViewState="False">
                            <asp:ListItem Value="UserName">用户名</asp:ListItem>
                            <asp:ListItem Value="LogTime">交易时间</asp:ListItem>
                            <asp:ListItem Value="Bank">银行名称</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;
                        <asp:TextBox ID="txtKeyWord" runat="server"></asp:TextBox>&nbsp;
                        <asp:Button ID="btnSearch" runat="server" Text="搜索" EnableViewState="False" Cssclass="btn btn-default">
                        </asp:Button>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" GridLines="None" CssClass="table table-bordered table-condensed table-hover"
                          DataKeyNames="ID" OnRowDataBound="GV_List_RowDataBound" OnRowDeleting="GV_List_RowDeleting">
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <HeaderTemplate>
                            <input name="chkHeader" onclick=" javascript:SelectAll(this); " type="checkbox" value="chkHeader"/>
                        </HeaderTemplate>
                        <ItemStyle HorizontalAlign="Center" Width="30px"></ItemStyle>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Order.OrderNum" HeaderText="订单号"></asp:BoundField>
                    <asp:BoundField DataField="UserName" HeaderText="用户名"></asp:BoundField>
                    <asp:BoundField DataField="Money" HeaderText="金额"></asp:BoundField>
                    <asp:BoundField DataField="Bank" HeaderText="银行"></asp:BoundField>
                    <asp:TemplateField HeaderText="收入支出">
                        <ItemTemplate>
                            <%# ((int) Eval("Income_PayOut")) == 1 ? "收入" : "支出" %>
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:BoundField DataField="Remark" HeaderText="Remark" HeaderStyle-Width="120"></asp:BoundField>
                    <asp:CommandField ShowDeleteButton="True" HeaderText="删除">
                        <HeaderStyle Width="40px"/>
                        <ItemStyle HorizontalAlign="Center"/>
                    </asp:CommandField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle"/>
            </asp:GridView>
            <div class="WorkArea">
                <asp:Button ID="btnDelSeletedID" runat="server" Text="删除选中" Style="cursor: hand"
                            EnableViewState="False" Cssclass="btn btn-default" OnClick="btnDelSeletedID_Click">
                </asp:Button>
                &nbsp;&nbsp; |&nbsp;&nbsp;
            </div>

            <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server" SubmitButtonclass="btn btn-default" OnPageChanging="PageNavigation1_PageChanging" PageSize="15">
            </WinnerCMS:PageNavigation>

        </ContentTemplate>
    </asp:UpdatePanel>
</form>
</body>
</html>